package com.yxzx.ebs.client;

import com.yxzx.common.YxzxResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient("yxzx-vod")
@Component
public interface VodClient {
    @DeleteMapping("/vidservice/vod/{videoId}")
    public YxzxResult removeVideo(@PathVariable("videoId") String videoId);
    @DeleteMapping("/vidservice/vod/deleteBatch")
    public  YxzxResult removeVideoList(@RequestParam("videoList")List<String> videoList);
}
